<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>form2</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../../public/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../../public/css/public.css" media="all" />
</head>
<body class="childrenBody">

	<form class="layui-form " id="newsAddForm">

		<input type="hidden" id="pointId" name="pointId">

		<div class="layui-col-md3 layui-col-sm4" style="min-height: 400px">
			<fieldset class="layui-elem-field layui-field-title layui-col-xs12">
				<legend>图片管理</legend>
			</fieldset>
			<div class="layui-form-item">
				<button type="button" class="layui-btn" id="show">形象展示</button>
				<button type="button" class="layui-btn" id="reclear3" style="background-color: red">删除</button>
				<div class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;min-height:100px   ">
					预览图：
					<div class="layui-upload-list" id="showUrl"></div>
				</div>
				<input type="hidden" name="comShowPicture" id="showdz" lay-verify="showpic"/>
			</div>
			<div class="layui-form-item">
				<button type="button" class="layui-btn" id="shangpin">商品图片</button>
				<button type="button" class="layui-btn" style="background-color: red" id="reclear">删除</button>
				<div class="layui-elem-quote layui-quote-nm" style="margin-top: 10px; min-height:100px">
					预览图：
					<div class="layui-upload-list" id="shangpinurl"></div>
				</div>
				<input type="hidden" name="comPicture" id="shangpinurldz" lay-verify="compic"/>
			</div>
			<div class="layui-form-item">
				<button type="button" class="layui-btn" id="jieshao">商品介绍</button>
				<button type="button" class="layui-btn" id="reclear2" style="background-color: red">删除</button>
				<div class="layui-elem-quote layui-quote-nm" style="margin-top: 10px; min-height:100px">
					预览图：
					<div class="layui-upload-list" id="jieshaourl"></div>
				</div>
				<input type="hidden" name="comIntroduce" id="jieshaodz" lay-verify="intropic" value=""/>
			</div>
		</div>
	
		<div class="layui-col-md8 layui-col-sm7 layui-col-sm-offset1">
			<fieldset class="layui-elem-field layui-field-title layui-col-xs12">
				<legend>基础信息</legend>
			</fieldset>
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>商品名称</label>
					<div class="layui-input-block">
						<input type="text" name="comName" id="comName" lay-verify="required|newsTitle" placeholder="请输入商品名称"
								autocomplete="off"
								class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>商品进价</label>
					<div class="layui-input-block">
						<input type="text" id="purchasePrice" name="purchasePrice" lay-verify="required|cash"
								placeholder="请输入商品进价"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>重&nbsp;量(kg)</label>
					<div class="layui-input-block">
						<input type="text" id="comWeight" name="comWeight" lay-verify="required|weight"
								placeholder="请输入商品重量"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>注册证号</label>
					<div class="layui-input-block">
						<input type="text" name="registrationNumber" id="registrationNumber" lay-verify="required|newsTitle"
								placeholder="请输入注册证号"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>所属单位</label>
					<div class="layui-input-block">
						<input type="text" name="unit" id="unit" lay-verify="required|newsTitle" placeholder="请输入单位"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌</label>
					<div class="layui-input-block">
						<input type="text" name="brands" id="brands" lay-verify="required|newsTitle" placeholder="请输入商品品牌"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>生产企业</label>
					<div class="layui-input-block">
						<input type="text" name="manufacturer" id="manufacturer" lay-verify="required|newsTitle"
								placeholder="请输入生产企业"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label"><span style="color: red">*</span>注册有效期</label>
					<div class="layui-input-block">
						<input type="text" id="registrationValidity" name="registrationValidity"
								lay-verify="required|newsTitle"
								readonly placeholder="请选择有效时间"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label">产品包装</label>
					<div class="layui-input-block">
						<input type="text" name="productPackaging" id="productPackaging" lay-verify="newsTitle"
								placeholder="请输入产品包装"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label">产品用途</label>
					<div class="layui-input-block">
						<input type="text" name="productUsage" id="productUsage" lay-verify="newsTitle"
								placeholder="请输入产品用途"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label">产品标准</label>
					<div class="layui-input-block">
						<input type="text" name="productStandards" id="productStandards" lay-verify="newsTitle"
								placeholder="请输入产品标准"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
	
			<div class="layui-col-md6 layui-col-md6">
				<div class="layui-form-item">
					<label class="layui-form-label">其&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;他</label>
					<div class="layui-input-block">
						<input type="text" name="other" id="other" lay-verify="newsTitle" placeholder="请输入详情"
								autocomplete="off" class="layui-input newsTitle">
					</div>
				</div>
			</div>
		</div>

		<div class="layui-form-item" style="position: fixed; bottom: 0; margin: 0 -10px 0 -10px; padding: 10px 0; background: #fff; box-shadow: 0 -1px 2px 0 rgba(0,0,0,.05); width: 100%; z-index: 99;">
			<div class="layui-input-block" style="text-align: center;margin: 0;">
				<button class="layui-btn" lay-submit="" id="addNews" lay-filter="addNews">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>


	<form class="layui-form">
		<div class="layui-col-md8 layui-col-md-offset1 layui-sm-12" style="margin-top: 30px; margin-bottom: 100px">
			<fieldset class="layui-elem-field layui-field-title layui-col-xs12">
				<legend>商品规格</legend>
			</fieldset>
			<table class="layui-table" lay-filter="dsd">
				<colgroup>
					<col width="150">
					<col width="150">
					<col width="200">
					<col>
				</colgroup>
				<thead>
				<a class="layui-btn" lay-submit lay-filter="addSubmit">添加规格</a>
				<tr>
					<th style="text-align: center;width: 5%;">编号</th>
					<th style="text-align: center">规格名称</th>
					<th style="text-align: center;width: 30%;">规格库存</th>
					<th style="text-align: center;width: 30%;">规格价格</th>
				</tr>
				</thead>
				<tbody>
				<tr>
					<td style="text-align: center;">1</td>
					<td><input type="text" name="price" lay-verify="required|cash" id="price" autocomplete="off"
								placeholder="请输入规格名称" class="layui-input"></td>
					<td><input type="text" name="price" lay-verify="required|cash" id="price" autocomplete="off"
								placeholder="请输入规格库存" class="layui-input"></td>
					<td><input type="text" name="price" lay-verify="required|cash" id="price" autocomplete="off"
								placeholder="请输入规格价格" class="layui-input"></td>
				</tr>
				</tbody>
			</table>
		</div>
	</form>

<script type="text/javascript" src="../../../public/layui/layui.js"></script>
</body>
</html>